.lightAction{
  position: absolute;
  background: rgba(255,255,255,0.95);

  //border-radius: 4px;
  z-index: 99998;
  min-width: 160px;
  max-width: 400px;
  box-shadow: -1px 0 0 rgba(0,0,0,0.1), 1px 0 0 rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.2);
  animation: fadeInScale 0.5s ease backwards;
  border-radius: 0 0 4px 4px;
  &:hover{
    z-index: 99999999;
    .actions{
      display: block;
    }
  }
}

.actions{
  padding: 2px 8px;
  margin-bottom: 2px;
  border-top: 3px solid gold;
  display: none;
  user-select: none;
  cursor: move;
  &.show{
    display: block;
  }
  pagenote-icon{
    margin-right: 4px;
    //box-shadow: 0px 0px 2px 0px #cccccc;
    border-radius: 10px;
    cursor: pointer;
    &:hover{
      background: #f6fcff;
      //box-shadow: -1px 0 0 rgba(0,0,0,0.1), 1px 0 0 rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.2);
    }
  }
  .moreInfo{
    font-size: 12px;
    color: #999;
    border-top: 1px dashed #eee;
    cursor: pointer;
    a{
      //margin-left: 14px;
    }
  }
}
.actionIcon{
  position: relative;
  cursor: pointer;
  &.deleteIcon{
    position: absolute;
    right: 20px;
    //top: 5px;
  }
}
.pinIcon{
  position: absolute;
  left: -20px;
  top: -10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 1px 0px #dedede;
  cursor: pointer;
  transition: 0.3s ease;
  &.pin{
    transform: rotate(45deg);
  }
}
.moreIcon{
  position: absolute;
  right: 0;
}
.dragIcon{
  cursor: move;
}
.colors{
  position: relative;
  display: inline-block;
  margin-right: 4px;
  cursor: pointer;
  &:hover{
    .colorOptions{
      display: block;
    }
  }
  .colorOptions{
    display: none;
    position: absolute;
    //top: -20px;
    background: #fff;
    white-space: nowrap;
    z-index: 1;
  }
  .colorItem{
    display: inline-block;
    margin-right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 10px;
    box-shadow: -1px 0 0 rgba(0,0,0,0.1), 1px 0 0 rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.2);
    &:hover{
      transform: scale(1.2);
    }
    &.active{
      border: 1px solid #000000;
      box-sizing: border-box;
    }
  }
  .currentColor{
    width: 18px;
    height: 18px;
    border-radius: 50%;
  }
}




.note{
  display: none;
  //margin-top: 4px;
  border-top: 1px solid #eee;
  font-size: 12px;
  min-height: 2em;
  padding: 4px;
  //border-radius: 2px;
  color: #333;
  img{
    max-width: 100%;
  }
  &.showNote{
    display: block;
  }
}


@keyframes fadeInScale {
  0%{
    opacity: 0;
    transform: scale(0.7);
  }
  100%{
    opacity: 1;
    transform: scale(1);
  }
}
